/*
 * Copyright 2021 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import 'mixins';
@import '../Terminal/mixins';

/* @include TableContainer {
  max-height: calc(0.7 * var(--kui--table-max-height));
} */

@include Block {
  @include Table {
    --pf-c-table--BackgroundColor: #{$table-background-color};
  }
}

@include Table {
  border-collapse: collapse;

  @include TableHeadCell {
    color: var(--color-text-01);
    & .pf-c-table__button {
      .pf-c-table__text {
        color: var(--color-text-01);
      }
      .pf-c-table__sort-indicator {
        color: var(--color-ui-05);
      }
    }
  }
  @include TableCell {
    color: var(--color-text-01);
  }

  caption {
    background: transparent;
    color: var(--color-text-01);
  }
}
